﻿#ifndef RULEFORM_H
#define RULEFORM_H

#include <QWidget>
#include "addruleform.h"

namespace Ui {
class ruleForm;
}

class ruleForm : public QWidget
{
    Q_OBJECT

public:
    explicit ruleForm(Rule_t _rule, QWidget *parent = nullptr);
    ~ruleForm();

    Rule_t getRule();
private:
    Ui::ruleForm *ui;
    Rule_t rule_;
};

#endif // RULEFORM_H
